{% extends 'layout.html.twig' %}

{% block body %}
    <form class="form-search">
        <div class="input-append">
            <input type="text" name="q" class="span2 search-query">
            <button type="submit" class="btn">Search</button>
        </div>

    </form>

    <hr>

    <ul>
    {% for entry in entries %}
<li>
        <a href="{{ path('entry_show',{id:entry.id}) }}">{{ entry.title }}</a>


</li>
     {% endfor %}
    </ul>
    {{ web_macro.paginator(paginator) }}
{% endblock %}





